package deibay.server.frontend.commands;

import deibay.messages.Message;
import deibay.server.eventargs.PongEventArg;
import deibay.server.events.PongEvent;
import deibay.server.frontend.FrontEndCore;
import deibay.users.User;

public class PongCommand extends Command{

	public PongCommand(User user, Message msg) {
		super(user, msg);		
	}

	@Override
	public void execute() {
		FrontEndCore.getInstance().getServerConnection().send(new PongEvent(new PongEventArg(user)));
	}

}
